package com.a.lib_bean.api;

import com.a.lib_bean.enums.PermissionType;


public class Url {




    public static String doCheckUpdate(PermissionType permissionType) {
        if (permissionType == PermissionType.c) {
            return cCheckUpdate;
        } else if (permissionType == PermissionType.b) {
            return bCheckUpdate;
        } else {
            return "";
        }
    }

    public static String doLogin(PermissionType permissionType) {
        if (permissionType == PermissionType.c) {
            return doLogin;
        } else if (permissionType == PermissionType.b || permissionType == PermissionType.d) {
            return dobLogin;
        } else {
            return "";
        }
    }



    public static String checkPermission(PermissionType permissionType) {
        if (permissionType == PermissionType.c) {
            return checkPermission;
        } else if (permissionType == PermissionType.b || permissionType == PermissionType.d) {
            return checkbPermission;
        } else {
            return "";
        }
    }




}

